﻿#ifndef _OI_PLSCANNERDLL_PLYPAGE_HPP_
#define _OI_PLSCANNERDLL_PLYPAGE_HPP_

#include "OiPageAbstract.hpp"

namespace Oi
{
    namespace PLScannerDll
    {
        class PlyPage : public PageAbstract
        {
            Q_OBJECT

        public:
            PlyPage(QWidget * parent = nullptr);

        public:
            void setParams(const PLScannerCore::ProductParams& params);
            int setResult(const PLScannerCore::WorkResult::Result& result);

            void setRun(bool flag);
            void toCurrent();

        public slots:
            void onReady();

        protected:
            void resizeEvent(QResizeEvent *event);

        private:
            OI_DECLARE_IMPL(PlyPage);
            OI_DISABLE_COPY(PlyPage);

        };
    }
}

#endif
